home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 015a / prmptmdb.zip / BOOKFIX.TXT next >
Text File  |  1993-01-24  |  2KB  |  61 lines

  1. Summary of corrections to "Running Microsoft Access" and the
  2. PROMPT.MDB database as of 1/24/93.
  3.  
  4. Chapter 12, Page 270, line 2
  5. should read: "... or choose the Select Form command from the 
  6. Edit menu)"
  7.  
  8.  
  9. Chapter 14, Page 312, "Adding Calculated Values"
  10. To properly display totals when some months have no sales for
  11. a particular item, the formula should read:
  12.  =IIf(IsNull([Jan]),0,[Jan]) +IIf(IsNull([Feb]),0,[Feb])
  13.      +IIf(IsNull([Mar]),0,[Mar])
  14.  
  15.  
  16. Chapter 19, Pages 424-426, "Orders Form Properties" and
  17. "Picking a Customer on the Orders Form"
  18. Although setting Allow Updating to Any Tables does let you update
  19. customer information on the "one" side of the query as documented,
  20. it also has the unwanted side effect of attempting to delete the
  21. customer row when you try to delete an order.  This works OK when
  22. you are deleting the last order for a customer (but the customer
  23. row disappears!), but generates an error if the customer still has
  24. orders outstanding.  The sample database has been changed to set
  25. Allow Updating to Default Tables.  The desired update to customer
  26. information is accomplished with unbound controls and additional
  27. macro routines in the Orders macro.
  28.  
  29. Chapter 19, Page 409, Figure 19-12
  30. The setting for the Item argument in the second SetValue should
  31. read:  Forms![Catalog - Chap 14]![Price]
  32.  
  33. Chapter 19, Page 411, Figure 19-15
  34. The setting for the SQL Statement argument in the RunSQL action
  35. should read:
  36.   DELETE DISTINCTROW [Item Components].[Catalog Item ID]
  37.    FROM [Item Components] WHERE [Item Components].[Catalog Item ID] =
  38.    Forms![Catalog - Chap 14]![Catalog Item ID];
  39.  
  40. Chapter 19, Page 411, paragraph immediately under Figure 19-15
  41. should begin:
  42.   "Notice that the Condition argument in the first Action of the
  43. Delete Items macro uses ..."
  44.  
  45. Chapter 19, Page 430, Figure 19-39
  46. The setting for the Macro Name argument in the RunMacro action
  47. should read:
  48.   Orders - Chap 19.Calc Tax
  49.  
  50.  
  51.  
  52. Improvements to PROMPT.MDB:
  53.  
  54. OnDelete macros have been added to all forms in the application to
  55. trap all possible referential integrity violations and display a
  56. more informative message box or take appropriate cascading delete
  57. action.
  58.  
  59. A macro has been added to BeforeUpdate of the Display / Add Components
  60. form to cause any change in Our Cost to also be reflected in any
  61. related rows in the Catalog Items table.